const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.userinof.staffPhoto || null,
  name: state => state.user.userinof.username || null,
  company: state => state.user.userinof.companyId,
  userId: state => state.user.userinof.userId
}
export default getters
